package chapter_3;

public class Demo8 {
    //测试方法
    public static void test() {
        int i = 0;
        i++;
        System.out.println("i = " + i);
    }
    public static void main(String[] args) {
        test();
        test();
    }
}
